﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebServer.Models
{
    /// <summary>
    /// 新闻类型
    /// </summary>
    public class NewsCate
    {
        /// <summary>
        /// ID
        /// </summary>
        public int ID
        {
            get;
            set;
        }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name
        {
            get;
            set;
        }

        /// <summary>
        /// 父
        /// </summary>
        public int Parent
        {
            get;
            set;
        }


        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDel
        {
            get;
            set;
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime
        {
            get;
            set;
        }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime Updatetime
        {
            get;
            set;
        }
        
        ///// <summary>
        ///// 子节点 
        ///// </summary>
        //public int childID
        //{ get; set; }


        ///// <summary>
        ///// 父节点名称
        ///// </summary>
        //public string PaName { get; set; }
    }
}
